resolution = "240p"
aspect_ratio = "9:16"
num_frames = 51
fps = 8
frame_interval = 1
save_fps = 8

save_dir = "/g0022010zlc/zyz/opensora_distill/samples/vbench_samples/all_webvid_bs1_55000" 
# save_dir = "samples/origin_opensora"
seed = 42
batch_size = 1
multi_resolution = "STDiT2"
dtype = "bf16"
condition_frame_length = 5
align = 5

model = dict(
    type="STDiT3-XL/2",
    from_pretrained="/g0022010zlc/zyz/OpenSora-STDiT-v3",
    qk_norm=True,
    enable_flash_attn=True,
    enable_layernorm_kernel=False,
)
vae = dict(
    type="OpenSoraVAE_V1_2",
    from_pretrained="/g0022010zlc/zyz/OpenSora-VAE-v1.2/",
    micro_frame_size=17,
    micro_batch_size=4,
)
text_encoder = dict(
    type="t5",
    from_pretrained="/g0022010zlc/zyz/Open-Sora-v1.2/weights/T5/",
    model_max_length=300,
)
scheduler = dict(
    type="rflow",
    use_timestep_transform=True,
    num_sampling_steps=30,
    cfg_scale=6.0,
)

aes = 6.5
flow = 5
prompt_path = "/g0022010zlc/zyz/opensora_distill/data/validate.txt"
# prompt_path = "./assets/texts/t2v_samples.txt"
# prompt_path = "/home/yunzhu/opensora_distill/assets/texts/VBench/all_dimension.txt"
# prompt_path = "/run/determined/NAS1/determined/VBench/prompts/prompts_per_dimension/subject_consistency.txt"
sample_method = "cfg"

